import type { FC, PropsWithChildren } from 'react';
import styles from './index.module.scss';

interface IndexProps {
  style?: React.CSSProperties;
}

const Index: FC<PropsWithChildren<IndexProps>> = ({ children, style }) => {
  return (
    <div className={styles.mask} style={style}>
      {children}
    </div>
  );
};

export default Index;
